FROM guosheng1987/php:7.4.22-fpm-buster

MAINTAINER guosheng1987 <guosheng1987@126.com>

RUN apt-get update &&\
    apt-get install -y libzip-dev

# mongodb extension
RUN pecl channel-update pecl.php.net \
	&& pecl install zip \
	&& echo "extension=zip.so" > /usr/local/etc/php/conf.d/docker-php-ext-zip.ini \
	&& php -m \
	&& echo -e "Zip Build Completed"


